package com.megan.design.pattern.builder.v2;

/**
 * @author: megan
 * @eMail: meganmail@vip.qq.com
 * @date: 2019/1/10 17:08
 * @version: v1.0
 * @description:
 */
public class Test {
    public static void main(String[] args) {
        Course course = new Course.CourseBuilder().builderCourseName("课程name").builderCourseArticle("课程手记").builderCoursePPT("课程ppt")
                .builderCourseQa("课程问答").builderCourseVideo("课程视频").builder();
        System.out.println(course.toString());
    }
}
